<template>
  <div>home</div>
</template>

<script>
export default {
  name: "home",
  /*beforeRouteLeave(to, from, next) {
    // 导航离开该组件的对应路由时调用
    // 可以访问组件实例 `this`
    console.log("home组件级别 beforeRouteLeave")
    next()
  }*/
}
</script>

<style scoped>

</style>
